package team.archai.nexus.boot.auth.constant;

/**
 * @program: tiny-dust-boot-build
 * @description: auth静态变量
 * @author: lishibin
 * @create: 2020-06-26 23:28
 **/
public interface AuthConstant {

    String AUTH_C = "authc";

    String TOKEN_HEADER = "Archai-Nexus-Nest-Token";

    String USER_HEADER = "Archai-Nexus-Nest-User";

    String AUTH_ARCHAI_NEXUS = "Archai-Nexus-Nest";

    String AUTH_TYPE_SHIRO = "shiro";

    String BASIC_HEADER_KEY = "Authorization";

    String BASIC_HEADER_SPLIT = " ";

    String CLIENT_HEADER_SPLIT = ":";


    String [] AUTH_VERSIONS =  new String[] {"Archai-Nexus-Nest"};

    interface UserPassword {
        /**
         * 用户密码加密字符串
         */
        String ENCRYPT_STRING = "_archai_nexus_nest_";
    }
}
